package com.njbdqn.mydemo.test;

import org.mybatis.spring.SqlSessionFactoryBean;	
import org.mybatis.spring.mapper.MapperScannerConfigurer;
import org.springframework.jdbc.datasource.DataSourceTransactionManager;
import org.springframework.web.context.ContextLoaderListener;
import org.springframework.web.filter.CharacterEncodingFilter;
import org.springframework.web.multipart.commons.CommonsMultipartResolver;
import org.springframework.web.servlet.DispatcherServlet;

import com.alibaba.druid.pool.DruidDataSource;
import com.mysql.jdbc.Driver;


public class Demo {
	public static void main(String[] args) {
		MapperScannerConfigurer m;
//		m.setBasePackage(basePackage);
		///SqlSessionFactoryBean s;
		//s.setMapperLocations(mapperLocations);
		//DruidDataSource d;
//		d.setDriverClassName(driverClass);
//		d.setUrl(jdbcUrl);
//		d.setUsername(username);
//		d.setPassword(password);
//		d.setInitialSize(initialSize);
//		d.setMaxActive(arg0);\
//		d.setMaxIdle(maxIdle);
//		d.setMaxWait(arg0);
//		d.setTimeBetweenEvictionRunsMillis(timeBetweenEvictionRunsMillis);
//		d.setMinEvictableIdleTimeMillis(minEvictableIdleTimeMillis);
//		d.setValidationQuery(validationQuery);
//		d.setTestWhileIdle();
//		d.setTestOnBorrow(testOnBorrow);
//		d.setTestOnReturn();
	}
}
